package com.chukun.inventory.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author chukun
 * @version 1.0.0
 * @description redis配置信息
 * @createTime 2022年04月05日 20:51:00
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.redis.cluster")
public class RedisProperties {

    private String nodes;

    private int timeout;
}
